<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Poruke
 *
 * @author mateo
 */
class Message {
    private $id;
    private $userId;
    private $comment;
    private $pictureId;
    private $MIMEType;
    private $time;
    private $latitude;
    private $longitude;   

    function __construct($id, $userId, $comment, $pictureId, $MIMEType, $time, $latitude, $longitude) {
        $this->id = $id;
        $this->userId = $userId;
        $this->comment = $comment;
        $this->pictureId = $pictureId;
        $this->MIMEType = $MIMEType;
        $this->time = $time;
        $this->latitude = $latitude;
        $this->longitude = $longitude;
    }

    
public function getID() {
    return $this->id;
}

public function getUserId() {
    return $this->userId;
}

public function getComment() {
    return $this->comment;
}

public function getPictureId() {
    return $this->pictureId;
}

public function getTime() {
    return $this->time;
}

public function setID($id) {
    $this->id = $id;
}

public function setUserId($userId) {
    $this->userId = $userId;
}

public function setComment($comment) {
    $this->comment = $comment;
}

public function setPictureId($pictureId) {
    $this->pictureId = $pictureId;
}

public function setTime($time) {
    $this->time = $time;
}

public function getLatitude() {
    return $this->latitude;
}

public function setLatitude($latitude) {
    $this->latitude = $latitude;
}

public function setLongitude($longitude){
    $this->longitude = $longitude;
}

public function getLongitude() {
    return $this->longitude;
}

public function getMIMEType() {
    return $this->MIMEType;
}

public function setMIMEType($MIMEType) {
    $this->MIMEType = $MIMEType;
}


}
?>
